package com.lnsystem.service;

import java.util.List;

import com.lnsystem.model.Stock;
import com.lnsystem.model.StockRating;

public interface StockCheckService {
	
	/**
	 * checks the stock's health
	 * @param symbol - the stock symbol
	 * @return - key parameters as string that tells about stock's health
	 */

	public String checkStock(String symbol);

	/**
	 * checks the health of all stocks in the stockList and updates the individual stock's model with the result
	 * @param stockList - the stock list
	 */
	void checkStock(List<Stock> stockList);
	
	
	public StockRating getStockRating(String symbol);

	void updateStockRating(StockRating stockRating);
}
